<div class="sebelumjud">
<div class="jodol">Absen Instruktur —Home</div>
    <div id="panah">
    <a href="#" class="pre"><img src="images/pre.png" width="18" height="17" /></a>
    <a href="#" class="next"><img src="images/next.png" width="18" height="17" /></a>
</div>
</div>
<div class="clear"></div>
        <div id="jumat">
                <div id="last">
                        <p><span class="jad"><?php if(!empty($term)) echo 'Term-'.$term['NO_TERM'].' '.$term['TAHUN']?>| </span><br />
        <?php if(!empty($kelas)) echo count($kelas)?> Classes Totals</p>
                </div>
                <div id="texttabel">
                    <table border="0" cellspacing="0" cellpadding="0">
                    <tr>
                                <th>&nbsp;</th>
                            <th class="doraemon"></th>
                            <th class="doraemon ">Course</th>
                            <th class="doraemon ">FINISH</th>
                    </tr>
                    <?php
                        if(!empty($kelas)){
                            for($i=0;$i<count($kelas);$i++){
                                echo '
                            <tr>
                                <td class="dora do"><span class="todoku">1</span></td>
                                <td class="doraemon2">'.$kelas[$i]['KODE_PELATIHAN'].'-'.$kelas[$i]['ANGKATAN'].'</td>
                                <td class="naruto naborder"><a href="'.base_url().'progress/progress_con/absen_course/'.$kelas[$i]['KODE_PELATIHAN'].'/'.$kelas[$i]['ANGKATAN'].'">'.$kelas[$i]['NAMA_PELATIHAN'].'</a></td>
                                <td class="naruto naborder">'.$kelas[$i]['PERSENTASE'].'%</td>
                            </tr>
                                    ';
                            }
                        }
                    ?>
                            
                        </table>
                </div>
        </div>
        <div class="clear"></div>